Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.15.z] Test for the change host's content source feature #14090

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #14004

Problem Statement

Create a test for the change host's content source feature.

Solution

Fixture and test were created.
The fixture does the necessary setup on the satellite, host, and capsule.
Test exercises different ways how to change the host's content source.

Needs Airgun#1226.

* Test for change hosts content source

* Fix comment

* Set fixture to module scope

* Fix comments

* Add some asserts

* Add imports

* Remove comment

(cherry picked from commit 57db84f)
@Satellite-QE Satellite-QE requested a review from a team as a code owner February 15, 2024 12:11
@Satellite-QE Satellite-QE added the 6.15.z Introduced in or relating directly to Satellite 6.15 label Feb 15, 2024
@Satellite-QE Satellite-QE requested a review from a team as a code owner February 15, 2024 12:11
@Satellite-QE Satellite-QE added Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels Feb 15, 2024
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/ui/test_host.py -k 'test_change_content_source'
airgun: 1226
env:
  ROBOTTELO_server__deploy_workflows_product: 'deploy-satellite'
  ROBOTTELO_server__deploy_arguments__deploy_sat_version: 'stream'
  ROBOTTELO_server__deploy_arguments__deploy_snap_version: '46.0'

@Satellite-QE Satellite-QE added the AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing label Feb 15, 2024
@Satellite-QE Satellite-QE merged commit 2e5c953 into 6.15.z Feb 15, 2024
14 checks passed
@Satellite-QE Satellite-QE deleted the cherry-pick-6.15.z-57db84f06d3af6bc18e1150e03d2219c2ddb4dc9 branch February 15, 2024 12:56
@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 5751
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/ui/test_host.py -k test_change_content_source
Test Result : ========= 2 passed, 39 deselected, 138 warnings in 2398.63s (0:39:58) ==========

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.15.z Introduced in or relating directly to Satellite 6.15 Auto_Cherry_Picked Automatically cherrypicked PR using GHA AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing No-CherryPick PR doesnt need CherryPick to previous branches PRT-Passed Indicates that latest PRT run is passed for the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants